import request from './request'

const baseURL = `https://www.ydtncpzlzs.cn:8299`
request.config.baseURL = baseURL

const api = {
  login: (data) => request.post('/bigiotdc/wechat/login', data),
  getUserByOpenId: (data) => request.post('/bigiotdc/wechat/getUserByOpenId', data),
  getLastData: (imei) => request.get(`/bigiotdc/qx/getLastData/${imei}`, {}),
  
}

export default api
